﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
using tms.Admins.Enums;

namespace tms.Menus.Dto
{   
    public class CreateUpdateMenuDto
    {
        /// <summary>        
        ///菜单名称
        /// </summary>
		[Required]
		[StringLength(50)]        
        public string MenuName{ get; set; }

        /// <summary>        
        ///菜单编号
        /// </summary>
        [Required]
        [StringLength(50)]
        public string MenuCode { get; set; }

        /// <summary>        
        ///父Id
        /// </summary>
        [Required]        
        public Guid ParentId{ get; set; }
        
        /// <summary>        
        ///菜单链接
        /// </summary>
		[StringLength(50)]        
        public string MenuRoute { get; set; }

        /// <summary>        
        ///菜单类型
        /// </summary>
        [Required]
        public MenuType MenuType { get; set; }
        
        /// <summary>        
        ///组件路径
        /// </summary>
		[StringLength(50)]        
        public string ComponentPath{ get; set; }
        /// <summary>        
        ///权限标识
        /// </summary>
        [StringLength(50)]
        public string Permission { get; set; }
    }
 }